package cn.iocoder.moyun.module.curd.framework.web.config;

import cn.iocoder.moyun.framework.swagger.config.YudaoSwaggerAutoConfiguration;
import org.springdoc.core.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * CURD 模块的 Web 组件配置
 */
@Configuration(proxyBeanMethods = false)
public class CurdWebConfiguration {
    /**
     * CURD 模块的 API 分组
     */
    @Bean
    public GroupedOpenApi curdGroupedOpenApi() {
        return YudaoSwaggerAutoConfiguration.buildGroupedOpenApi("curd");
    }
}
